package com.webchat.chat.dao;

import com.webchat.chat.core.Mapper;
import com.webchat.chat.model.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserMapper extends Mapper<User> {
    List<User> selectByUserNameAndTenantCode(@Param("userName") String userName, @Param("tenantCode") String tenantCode);

    List<User> findUserByInfo(User user);
}